package com.ruoyi.warning.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.warning.domain.entity.Port;
import com.ruoyi.warning.domain.query.PortQuery;
import com.ruoyi.warning.domain.vo.PortVO;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author chenhc
 * @since 2025-03-26
 */
public interface PortsMapper extends BaseMapper<Port> {

    List<PortVO> getPortBandwidthUtilization(String id);

    Map<String, Object> portStatusStatistics(String id);

    List<PortVO> getList(PortQuery query);

    List<PortVO> getMaxfive();
}
